package com.ziyun.erp.common.e.promotion;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * @author jiangli
 * @date 2018-09-17 10:40
 * 促销方式（促销/优惠券/支付券）
 * 'promotion','coupon','pay'
 */
public enum PolicyTypeEnum implements BaseEnum {
    PROMOTION("promotion","促销"),
    COUPON("coupon","优惠券"),
    PAY("pay","支付券");

    private String code;
    private String describe;

    PolicyTypeEnum(String code, String describe) {
        this.code = code;
        this.describe = describe;
    }
    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
